package com.yonyou.pmclouds.safeinspection.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.inspectitem.entity.InspectItemVO;
import com.yonyou.pmclouds.safeinspection.entity.SafeInspectionListVO;
import com.yonyou.pmclouds.safeinspection.entity.SafeInspectionVO;
import com.yonyou.pmclouds.safetypatrol.entity.SafetypatrolDetailVO;
import com.yonyou.pmclouds.safetypatrol.entity.SafetypatrolVO;

import java.util.List;

public interface SafeinspectionQueryService {

    //项目模块的列表态
    List<SafeInspectionListVO> queryByPkProject(String pk_project) throws BusinessException;

    //项目模块从列表态点进去的展示全部信息
    SafeInspectionVO queryByOne(String pk_safeinspection) throws BusinessException;

    //点击查看现场检查的细节
    InspectItemVO queryItemVo(String pk_inspectitem)throws BusinessException;

    boolean queryRefByIds(String code, String[] keys);

    List<SafetypatrolVO> queryByTenant(String pkTenant) throws BusinessException;

    List<SafetypatrolDetailVO> queryBypkSafetypatrol(String pkSafetypatrol) throws BusinessException;
}
